package com.serviceprovider.business.module.admin.user.model;

//~--- non-JDK imports --------------------------------------------------------

import org.springmodules.validation.bean.conf.loader.annotation.handler.Length;
import org.springmodules.validation.bean.conf.loader.annotation.handler.NotBlank;

/**
 * UserProfile domain object.
 */
public class UserProfile extends Saveable {
    private String businessAddress;
    private String businessCity;
    private String businessCountry;
    private String businessCounty;
    private String businessFax;
    @NotBlank
    private String businessName;
    private String businessPhone;
    private String businessState;
    private String businessZip;
    private String contactAddress;
    private String contactCell;
    @NotBlank
    @Length(min = 2)
    private String contactCellProvider;
    private String contactCity;
    private String contactCountry;
    private String contactCounty;
    private String contactFax;
    private String contactState;
    private String contactZip;
    private String efin;
    private String firstContactPhone;
    @NotBlank
    private String firstName;
    @NotBlank
    private String lastName;
    private String middleName;
    private String pager;
    private int    prefMessageNotifyAlert;
    private int    prefMessageNotifyType;
    private String secondContactPhone;
    private String shippingAddress;
    private String shippingCity;
    private String shippingCountry;
    private String shippingCounty;
    private String shippingFax;
    private String shippingPhone;
    private String shippingState;
    private String shippingZip;
    private String ssn;
    private int    userId;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getMiddleName() {
        return middleName;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getEfin() {
        return efin;
    }

    public void setEfin(String efin) {
        this.efin = efin;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getPager() {
        return pager;
    }

    public void setPager(String pager) {
        this.pager = pager;
    }

    public String getContactAddress() {
        return contactAddress;
    }

    public void setContactAddress(String contactAddress) {
        this.contactAddress = contactAddress;
    }

    public String getContactState() {
        return contactState;
    }

    public void setContactState(String contactState) {
        this.contactState = contactState;
    }

    public String getContactZip() {
        return contactZip;
    }

    public void setContactZip(String contactZip) {
        this.contactZip = contactZip;
    }

    public String getContactFax() {
        return contactFax;
    }

    public void setContactFax(String contactFax) {
        this.contactFax = contactFax;
    }

    public String getContactCountry() {
        return contactCountry;
    }

    public void setContactCountry(String contactCountry) {
        this.contactCountry = contactCountry;
    }

    public String getContactCity() {
        return contactCity;
    }

    public void setContactCity(String contactCity) {
        this.contactCity = contactCity;
    }

    public String getContactCounty() {
        return contactCounty;
    }

    public void setContactCounty(String contactCounty) {
        this.contactCounty = contactCounty;
    }

    public String getFirstContactPhone() {
        return firstContactPhone;
    }

    public void setFirstContactPhone(String firstContactPhone) {
        this.firstContactPhone = firstContactPhone;
    }

    public String getSecondContactPhone() {
        return secondContactPhone;
    }

    public void setSecondContactPhone(String secondContactPhone) {
        this.secondContactPhone = secondContactPhone;
    }

    public String getContactCell() {
        return contactCell;
    }

    public void setContactCell(String contactCell) {
        this.contactCell = contactCell;
    }

    public String getContactCellProvider() {
        return contactCellProvider;
    }

    public void setContactCellProvider(String contactCellProvider) {
        this.contactCellProvider = contactCellProvider;
    }

    public String getBusinessAddress() {
        return businessAddress;
    }

    public void setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress;
    }

    public String getBusinessState() {
        return businessState;
    }

    public void setBusinessState(String businessState) {
        this.businessState = businessState;
    }

    public String getBusinessZip() {
        return businessZip;
    }

    public void setBusinessZip(String businessZip) {
        this.businessZip = businessZip;
    }

    public String getBusinessFax() {
        return businessFax;
    }

    public void setBusinessFax(String businessFax) {
        this.businessFax = businessFax;
    }

    public String getBusinessCountry() {
        return businessCountry;
    }

    public void setBusinessCountry(String businessCountry) {
        this.businessCountry = businessCountry;
    }

    public String getBusinessCity() {
        return businessCity;
    }

    public void setBusinessCity(String businessCity) {
        this.businessCity = businessCity;
    }

    public String getBusinessCounty() {
        return businessCounty;
    }

    public void setBusinessCounty(String businessCounty) {
        this.businessCounty = businessCounty;
    }

    public String getBusinessPhone() {
        return businessPhone;
    }

    public void setBusinessPhone(String businessPhone) {
        this.businessPhone = businessPhone;
    }

    public String getShippingAddress() {
        return shippingAddress;
    }

    public void setShippingAddress(String shippingAddress) {
        this.shippingAddress = shippingAddress;
    }

    public String getShippingState() {
        return shippingState;
    }

    public void setShippingState(String shippingState) {
        this.shippingState = shippingState;
    }

    public String getShippingZip() {
        return shippingZip;
    }

    public void setShippingZip(String shippingZip) {
        this.shippingZip = shippingZip;
    }

    public String getShippingFax() {
        return shippingFax;
    }

    public void setShippingFax(String shippingFax) {
        this.shippingFax = shippingFax;
    }

    public String getShippingCountry() {
        return shippingCountry;
    }

    public void setShippingCountry(String shippingCountry) {
        this.shippingCountry = shippingCountry;
    }

    public String getShippingCity() {
        return shippingCity;
    }

    public void setShippingCity(String shippingCity) {
        this.shippingCity = shippingCity;
    }

    public String getShippingCounty() {
        return shippingCounty;
    }

    public void setShippingCounty(String shippingCounty) {
        this.shippingCounty = shippingCounty;
    }

    public String getShippingPhone() {
        return shippingPhone;
    }

    public void setShippingPhone(String shippingPhone) {
        this.shippingPhone = shippingPhone;
    }

    public int getPrefMessageNotifyType() {
        return prefMessageNotifyType;
    }

    public void setPrefMessageNotifyType(int prefMessageNotifyType) {
        this.prefMessageNotifyType = prefMessageNotifyType;
    }

    public int getPrefMessageNotifyAlert() {
        return prefMessageNotifyAlert;
    }

    public void setPrefMessageNotifyAlert(int prefMessageNotifyAlert) {
        this.prefMessageNotifyAlert = prefMessageNotifyAlert;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setSsn(String ssn) {
        this.ssn = ssn;
    }

    public String getSsn() {
        return this.ssn;
    }

    @Override
    public boolean equals(Object obj) {
        if ((obj == null) ||!(obj instanceof UserProfile)) {
            return false;
        }

        UserProfile b = (UserProfile) obj;

        if (id != b.id) {
            return false;
        }

        return true;
    }

    @Override
    public int hashCode() {
        int prime  = 31;
        int result = 1;

        result = prime * result + id;

        return result;
    }
}



